package com.my.assembly.entity;

import com.google.gson.annotations.SerializedName;

/**
 * <pre>
 *     author : wxq
 *     time   : 2018/12/08
 *     desc   :
 *     version: 1.0
 * </pre>
 */
public class FileUploadResult {

    /**
     * filepath : Upload/uploads/2018-12/15442728664362.png
     * filethumbpath : Upload/uploads/2018-12/15442728664362_thumb.png
     * size : {"0":264,"1":100,"2":2,"3":"width=\"264\" height=\"100\"","bits":8,"channels":3,"mime":"image/jpeg"}
     * status : 1
     * msg : 图片保存成功
     */

    public String filepath;
    public String filethumbpath;
    public SizeEntity size;
    public int status;
    public String msg;

    public static class SizeEntity {
        /**
         * 0 : 264
         * 1 : 100
         * 2 : 2
         * 3 : width="264" height="100"
         * bits : 8
         * channels : 3
         * mime : image/jpeg
         */

        @SerializedName("0")
        public int _$0;
        @SerializedName("1")
        public int _$1;
        @SerializedName("2")
        public int _$2;
        @SerializedName("3")
        public String _$3;
        public int bits;
        public int channels;
        public String mime;
    }
}
